﻿using Handday.Erp.Transfer.Models;
using System.Threading.Tasks;
using WebApiClientCore;
using WebApiClientCore.Attributes;

namespace Handday.Erp.Transfer.WebApiClient
{
    /// <summary>
    /// web api client
    /// </summary>
    public interface IErpTransferClient : IHttpApi
    {
        /// <summary>
        /// 推送8项交易数据到CRM
        /// </summary>
        [HttpPost]
        Task<CrmResulBase> PublishEightTradingDataToCrmAsync([UriN] string url, [JsonContent] EightTradingCrmDto data);
    }
}
